<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Insert title here</title>
<link rel="stylesheet" href="./media/thickbox.css" type="text/css" media="screen" />
<script type="text/javascript" src="./media/jquery/jquery.pack.js"></script>
<script type="text/javascript" src="./media/jquery/jquery.thickbox.pack.js"></script>
<script type="text/javascript">
var tb_pathToImage = "./media/images/loadingBar.gif";
var json = null;
</script>
</head>

<body>
<a href="file-picker.php?var=json&amp;TB_iframe=true&amp;height=300&amp;width=400&amp;modal=true" class="thickbox">Select file(s)</a>
<br /><br />
<a href="javascript:alert(json);">Get value</a>
</body>
</html>